﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EngineLayer
{
    using Services;
    using DBLayer;
    using System.Text.RegularExpressions;
    using EngineLayer.Model;

    public enum SaleType
    {
        OrderToServe = 1,
        OrderToCarry = 2,
        OrderToAdress
    }
    
    public class CashierModel : DBEntities//, IDisposable
    {
        # region Private Declarations
           
            private Sale sale;
            private Dollar dollar;
            private PesoMxn pesos;
            private Card card;
            private Discount discount;
            private SaleDetail details;
        
        # endregion

       // private Products_ _ProductService;
        private EngineLayer.Model.Product _product;
              
        public CashierModel ()
        {
      //     _ProductService = new Products_();
          // _product = new EngineLayer.Model.Product();
        }
        public EngineLayer.Model.Product product()
        {
            return _product;
        }
         
        //public Products_ ProductService()
        //{
        //    return _ProductService;
        //}

        public void NewSale()
        {
            sale = new Sale();
            dollar = new Dollar();
            pesos = new PesoMxn();
            card = new Card();
            discount = new Discount();
            details = new SaleDetail();
        }
        
        public void AddProduct(string productID, string productQuantity)
        {
           
        }

         
    }
   
}
